xen/arm: p2m: Introduce helpers to insert and remove mapping
authorJulien Grall <julien.grall@arm.com>
Tue, 12 Jul 2016 13:59:33 +0000 (14:59 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 13 Jul 2016 17:52:09 +0000 (18:52 +0100)
commite8119e44a585ef0b343af9e6ae00b906b840b492
tree7b6818110150cf1f0dbdbf8e8cef1ff754843a7a
parent70cd4804d7cb8dc97904c97b823dbed5f71457d7
xen/arm: p2m: Introduce helpers to insert and remove mapping

More the half of the arguments of INSERT and REMOVE are the same for
each callers. Simplify the callers of apply_p2m_changes by adding new
helpers which will fill common arguments with default values.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/p2m.c